<!DOCTYPE html>
<html ng-app="phonecatApp">

	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="bootstrap4.css" />
		<link rel="stylesheet" type="text/css" href="app4.css" />
		<script src="../js/angular.js"></script>
		<script type="text/javascript" src="controllers4.js"></script>
		<title>第4步</title>
	</head>

	<body ng-controller="PhoneListCtrl">

  <div class="container-fluid">
    <div class="row">
      <div class="col-md-2">
        <!--Sidebar content-->

        Search: <input ng-model="query">
        Sort by:
        <select ng-model="orderProp">
          <option value="name">Alphabetical</option>
          <option value="age">Newest</option>
        </select>

      </div>
      <div class="col-md-10">
        <!--Body content-->

        <ul class="phones">
          <li ng-repeat="phone in phones | filter:query | orderBy:orderProp">
            <span>{{phone.name}}</span>
            <p>{{phone.snippet}}</p>
          </li>
        </ul>

      </div>
    </div>
  </div>

</body>

</html>